package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Menu;

import java.util.List;
import java.util.Map;

/**
 * @ClassName MenuService
 * @Description
 * @Author Jingxiao.Ye
 * @Date 2020/1/14 10:26
 * @Version V1.0
 * @Since JDK 1.8
 */
public interface MenuService {

    PageResult findPage(QueryPageBean queryPageBean);

    Map findRoleByMenuId(Integer id);

    void modifyMenuRole(Integer menuId,List<Integer> roleIds);

    List<Menu> findMenuByUsername(String username);
    //Result add(Map<String, String> map);
}
